package moodish.dummy;

import static org.junit.Assert.*;

import moodish.comm.ClientSideMessage.Type;

import org.junit.Test;

public class ClienteSideMessageTest {

	
	private  ClienteSideMessage cliente = new ClienteSideMessage("from", "payload",Type.ERROR);
	

	@Test
	public void testParameters() {

		assertNotNull(cliente);
		assertEquals("from", cliente.getSendersNickname());
		assertEquals(Type.ERROR, cliente.getType());
		assertEquals("payload", cliente.getPayload());

	}


}
